$(document).ready(function() {	
	if ($("#da-slider").length > 0){
		/*$('#da-slider').cslider({
			autoplay	: true,
			bgincrement	: 450,
			interval	: 30000
		});*/
	}
	if (typeof image1 !== 'undefined'){
		$.supersized({
			slide_interval: 2000,
			transition: 1,
			transition_speed: 3000,
			slide_links: 'blank',
			slides: [
				{ image: image1, title: 'Ảnh picoman 1', thumb: '', url: '' },
				{ image: image2, title: 'Ảnh picoman 2', thumb: '', url: '' },
				{ image: image3, title: 'Ảnh picoman 3', thumb: '', url: '' }, 
			]

		});
	}
	if ($("#tabs").length > 0){
		$('#tabs a').click(function (e) {
			e.preventDefault();
			$("#content_question_answer div").hide();
			$("#tabs li").attr("class", "");
			$(this).parent().attr("class", "current");
			$('.' + $(this).attr('title')).fadeIn();
		});
	}
	
	/*addthis.layers({
    'theme' : 'transparent',
    'share' : {
      'position' : 'left',
      'numPreferredServices' : 6
    }, 
    'follow' : {
      'services' : [
        {'service': 'facebook', 'id': 'ntthnue'},
        {'service': 'twitter', 'id': 'ntthnue'},
        {'service': 'linkedin', 'id': 'ntthnue'},
        {'service': 'google_follow', 'id': 'ntthnue'}
      ]
    }   
  });*/
});